<style>
    .display_none{
        display: none;
    }
    .tab-bar > li a{
        color: #777;
    }
    .tab-bar > li.active a{
        background-color: #f5f5f5;
        color: #111;
    }
    .tab-bar{
        background-color: #dddddd;
    }
    .brush-status {
        height: 20px;
        line-height: 20px;
        padding: 0 10px;
    }
    .circle {
        width: 180px;
        height: 180px;
        position: absolute;
        border-radius: 50%;
        background: rgb(93,159,160);
    }
    .pie_left, .pie_right {
        width: 180px;
        height: 180px;
        position: absolute;
        top: 0;left: 0;
    }
    .left, .right {
        display: block;
        width:180px;
        height:180px;
        background:rgb(221,221,211);
        border-radius: 50%;
        position: absolute;
        top: 0;
        left: 0;
    }
    .pie_right, .right {
        clip:rect(0,auto,auto,100px);
    }
    .pie_left, .left {
        clip:rect(0,100px,auto,0);
    }
    .mask {
        width: 130px;
        height: 130px;
        border-radius: 50%;
        left: 25px;
        top: 25px;
        background: #FFF;
        position: absolute;
        text-align: center;
        line-height: 130px;
        font-size: 16px;
    }

</style>
<table style="width: 100%;height: 100%">
    {% if NavUl is defined %}
        <tr style="height: 67px">
            <td valign="top">{{ NavUl }}</td>
        </tr>
    {% endif %}
    <tr style="height:100%;" >
        <td class="xh-datagrid">{{ List }}</td>
    </tr>
    {% if Form is defined %}
        <tr id="contentForm" style="display: none">
            <td valign="top">
                <div class="smart-widget widget-dark" style="height: 100%;width: 100%;margin-bottom: 0px;border-top: 1px;">
                        <div class="smart-widget-body" style="height: 92%;width: 100%;padding-bottom: 0px;">
                            <div class="tab-content" style="height: 100%;width: 100%;">
                                <div class="smart-widget-inner">
                                    <div class="smart-widget-body">
                                        <form id="xh_form" class="xh-form xh-hidden" method="post" readonly="true">
                                            <div class="xh-area-form">
                                                {{ Form }}
                                            </div>
                                            {% if FormButton is defined %}
                                                <div class="xh-area-button" style="padding-left: 65px;">
                                                    {{ FormButton }}
                                                </div>
                                            {% endif %}
                                        </form>
                                    </div>
                                </div>
                            </div>
                        </div>
                </div>
            </td>
        </tr>
    {% endif %}
    <div id="div_weekly" style="display: none">
        {% if power['weekly']['add'] %}
            <div><a  class="week" do="create">新建周报</a></div>
        {% endif %}
        {% if power['weekly']['view'] %}
            <div><a  class="week" do="see">查看周报</a></div>
        {% endif %}
    </div>
</table>
